package cn.itcast.dagger_demo;

/**
 * Created by Administrator on 2016/8/3.
 */
public class DaggerPresenter {


    private MainActivity mainActivity;

    public DaggerPresenter(MainActivity mainActivity) {
        this.mainActivity = mainActivity;
    }

    public <Data> void showData(Data data) {

        mainActivity.setData(data.toString());
    }

}
